#include <stdio.h>
#include <stdlib.h>

#define ITEMS	1000
#define LEN		100

int main() {
	int i, l, c, j;
	char str[LEN+1];
	srand(time(NULL));
	for(i = 0; i < ITEMS; i++) {
		l = rand() % LEN;
		for(j = 0; j < l; j++) {
			str[j] = (rand() % 10) + '0';
		}
		str[j] = 0;
		printf("1\n%s\n", str);
	}
	printf("1\n%s", str);
	return 0;
}
